#!bin/bash
#

read -p "输入密码: " pwd1
read -p "确认密码: " pwd2

if [ "pwd1"=="pwd2" ];then 
echo "OK"
else 
echo "error"
fi

